#pragma once

#include "NFServerComm/NFServerCommon/NFIDescStore.h"
#include "NFServerComm/NFServerCommon/NFIDescTemplate.h"
#include "NFLogicCommon/NFDescStoreMacrosDefine.h"
#include "NFLogicCommon/NFDescStoreTypeDefines.h"
#include "E_NpcBase.nanopb.h"
#ifndef MAX_NPCBASE_EXCHANGENPCDESC_NUM
#define MAX_NPCBASE_EXCHANGENPCDESC_NUM 20
#endif

class ExchangeNpcDesc : public NFI_DESC_TEMPLATE_MACRO(ExchangeNpcDesc, E_ExchangeNpc, EOT_CONST_NPCBASE_EXCHANGENPCDESC_DESC_ID, MAX_NPCBASE_EXCHANGENPCDESC_NUM)
public:
	ExchangeNpcDesc();
	virtual ~ExchangeNpcDesc();
	int CreateInit();
	int ResumeInit();
public:
	int Load(NFResDb *pDB) override;
	int LoadDB(NFResDb *pDB) override;
	int CheckWhenAllDataLoaded() override;
};
